package main

import "fmt"

func main() {
	var pow = []int{1,2,4,8,16}
    var pow1 = make([]int, 10)
	for i, v:= range pow{
		fmt.Printf("2**%d = %d\n",i,v)
	}

	fmt.Println(pow1)
	for j := range pow1 {
		pow1[j] = 1 << uint(j)
	}

	for _, value := range pow1 {
		fmt.Printf("%d\n",value)
	}
}
